package cn.yunhe.dao;

import cn.yunhe.entity.merchantsentity.Food;
import cn.yunhe.entity.merchantsentity.Type;

import java.util.List;
import java.util.Map;

public interface IFoodDaoMapper {
    /**
     * 周依博
     * @param food
     * @return
     */
    //菜品添加
    int addFood(Food food);

    //查询全部菜品详情
    List<Food> getAllFoodList(int mid);

    //修改菜品信息
    int updateFood(Food food);
    //获取修改的菜品ID
    Food getNewsById(int fid);

    //删除菜品
    int deleteFood(int fid);

    int searchFood(Map map);

    int countFood(int mid);
}
